package cn.com.bluemoon.daps.standard.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 稽核表标准符合结果表
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors
@ApiModel(value = "DapAuditStandardResult", description = "稽核表标准符合结果表")
public class DapAuditStandardResult extends BaseModel<DapAuditStandardResult> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "字段符合率")
    private String fieldCoincidenceRate;

    @ApiModelProperty(value = "字段总数")
    private String fieldTotal;

    @ApiModelProperty(value = "是否通过，0:表示不通过，1:表示通过")
    private Integer isPassed;

    @ApiModelProperty(value = "模型id")
    private String modelId;

    @ApiModelProperty(value = "采纳标准数")
    private String numStandardsAdopted;

    @ApiModelProperty(value = "稽核系统结果表id")
    private String systemAuditResultId;

    @ApiModelProperty(value = "库表中文名")
    private String tableChinName;

    @ApiModelProperty(value = "库表名称")
    private String tableName;

    @ApiModelProperty(value = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "模型表id")
    private String tableId;

    @ApiModelProperty(value = "获取字段标准信息")
    @TableField(exist = false)
    private List<DapAuditFieldStandardResult> fieldResult = new ArrayList<>();


}
